MODULE  'libraries/iffparse'

CONST ID_PTRN=$5054524E,
 WBP_ROOT=0,
 WBP_DRAWER=1,
 WBP_SCREEN=2,
 WBPF_PATTERN=$0001,
 WBPF_NOREMAP=$0010,
 WBPF_DITHER_MASK=$0300,
 WBPF_DITHER_DEF=0,
 WBPF_DITHER_BAD=$0100,
 WBPF_DITHER_GOOD=$0200,
 WBPF_DITHER_BEST=$0300,
 WBPF_PRECISION_MASK=$0C00,
 WBPF_PRECISION_DEF=0,
 WBPF_PRECISION_ICON=$0400,
 WBPF_PRECISION_IMAGE=$0800,
 WBPF_PRECISION_EXACT=$0C00,
 WBPF_PLACEMENT_MASK=$3000,
 WBPF_PLACEMENT_TILE=$0000,
 WBPF_PLACEMENT_CENTER=$1000,
 WBPF_PLACEMENT_SCALE=$2000,
 WBPF_PLACEMENT_SCALEGOOD=$3000,
 MAXDEPTH=3,
 DEFPATDEPTH=2,
 PAT_WIDTH=16,
 PAT_HEIGHT=16

OBJECT WBPatternPrefs
  Reserved[4]:ULONG,
  Which:UWORD,
  Flags:UWORD,
  Revision:BYTE,
  Depth:BYTE,
  DataLength:UWORD
